package com.lsj.core.exception;


import com.lsj.core.response.ResponseType;
import lombok.Data;

@Data
public class CustomerException extends RuntimeException{
    private int code ;
    private String message;

    public CustomerException(ResponseType responseType, String message) {
        this.code = responseType.getCode();
        this.message = message;
    }



}
